<?php
Yii::setPathOfAlias('BlogModule' , dirname(__FILE__));

class BlogModule extends CWebModule {
	public $layout = 'yumblog';

	public $controllerMap=array(
			'comments'=>array(
				'class'=>'BlogModule.controllers.CommentController'),
			'post'=>array(
				'class'=>'BlogModule.controllers.PostController'),
			);

	public function init() {
		$this->setImport(array(
			'application.modules.user.controllers.*',
			'application.modules.user.models.*',
			'BlogModule.components.*',
			'BlogModule.models.*',
		));
	}
}
